<template>
	<view>
		<view class="pt20 pb20 pr30 pl30 txtcen">
			<block v-if="title == 'login' ">
				<view class="fz32 bold">您还未注册/登录</view>
				<view class="fz28 mt20 col99">请先注册/登录在进行操作</view>
				<view class="pb20"></view>
				<image class="w120 h120 ius100" :src="cosImageUrl('/avatar.png',true)" mode="aspectFill"></image>
				<view class="pb20"></view>
				<view class="flex">
					<view class="pt10 pb10  flex1 ius100 borf84746 border1 col40 nowrap fz24 flexCenter"
						@tap="login('no')">暂不登录
					</view>
					<view class="pt10 pb10  flex1 ius100 fz24 ml20 pl10 pr10 flexCenter nowrap bgff000 colff"
						@tap="login('yes')">立即注册/登录
					</view>
				</view>
			</block>
			<block v-if="title == 'index' ">
				<view class="fz32 bold">温馨提示</view>
				<view class="fz28 mt20 col99">欢迎使用指点未来教育</view>
			</block>
		</view>
	</view>
</template>
<script>
	export default {
		props: {
			title: {
				type: String,
				default: '',
			}
		},
		data() {
			return {

			}
		},
		methods: {
			login(flag) {
				this.$emit('login', flag)
			}
		}
	}
</script>
<style lang="scss" scoped>

</style>